home *** CD-ROM | disk | FTP | other *** search
- on keyUp
- entryField = member("entryField")
- displayField = member("displayField")
- entry = entryField.text
- display = displayField.text
- if entry = EMPTY then
- exit
- end if
- linePosition = 1
- repeat while display <> EMPTY
- if entry < line 1 of display then
- exit repeat
- end if
- delete line 1 of display
- linePosition = linePosition + 1
- end repeat
- put EMPTY before line linePosition of field displayField
- hilite line linePosition of field displayField
- end
-